App Extensibility: Display G/L Account Line Items
You can extend the Display G/L Account Line Items
app according to your business needs for different aspects. For this purpose, the following extensibility options are available:
For key users and developers
Key users can extend the app in the Custom Fields and Logic
app using the following business contexts:
Journal Entry Item
Coding Block
In the Custom Fields and Logic
app, key users or developers can create new fields for the above mentioned business contexts and after creation have to enable and publish any newly created field for the respective OData service and the view. They do this in the UIs and Reports
section of the Custom Fields and Logic
app. Depending on the field, they either use the Journal Entry Item
business context or the Coding Block
business context.
For more information about how to do that in the Custom Fields and Logic
app, see .
For developers
Additionally developers can plug in and execute custom code (JavaScript) by using a UI controller hook.
You can add fields to the Display G/L Account Line Items
app using UI adaptions at runtime:
UI Element | Business Context |
|---|---|
Smart Filter Bar |
|
Smart Table |
|
For more information about how to adapt an SAP Fiori UI at runtime, see .
To plug in and execute custom code to display default values for specific fields, for example, the following hook is available in the controller code:
Controller | Hook | Use |
|---|---|---|
|
| Allows you to define your own actions for fields, where you cannot or do not want to use variants, but want to display default values for all users, for example you always want to show as status |
If there are additional UI controller hooks available in the controller code, you can extend the UI controller code. For more information about UI controller hooks, see section Extensibility in the S/4HANA UI Technology guide.
For a general description of the extensibility options and procedures of Fiori apps, see section Extensibility in the S/4HANA UI Technology guide.